//
//  PcaModel.m
//  B2C
//
//  Created by 李小龙 on 2017/7/28.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import "PcaModel.h"

@implementation AreaModel

MJCodingImplementation

@end

@implementation CityModel

MJCodingImplementation
+ (NSDictionary *)mj_objectClassInArray {
    return @{@"areas":[AreaModel class]};
}
- (NSArray<AreaModel *> *)areas {
    if (_areas.count == 0) {
        return nil;
    }
    return _areas;
}
@end

@implementation PcaModel

MJCodingImplementation
+ (NSDictionary *)mj_objectClassInArray {
    return @{@"citys":[CityModel class]};
}
- (NSArray<CityModel *> *)citys {
    if (_citys.count == 0) {
        return nil;
    }
    return _citys;
}
@end
